package org.csu.mypetstore.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("item")
public class Item {
    @TableField(exist = false)
    private String editId;
    @TableId(value = "itemid", type = IdType.INPUT)
    private String itemId;
    @TableField(value = "productid")
    private String productId;
    @TableField(value = "listprice")
    private BigDecimal listPrice;
    @TableField(value = "unitcost" )
    private BigDecimal unitCost;
    @TableField(value = "supplier")
    private int supplierId;
    private String status;
    @TableField(value = "attr1" )
    private String attribute1;
    @TableField(value = "attr2" )
    private String attribute2;
    @TableField(value = "attr3" )
    private String attribute3;
    @TableField(value = "attr4" )
    private String attribute4;
    @TableField(value = "attr5" )
    private String attribute5;

    public String getEditId() {
        return editId;
    }

    public void setEditId( String editId ) {
        this.editId = editId;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId( String itemId ) {
        this.itemId = itemId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId( String productId ) {
        this.productId = productId;
    }

    public BigDecimal getListPrice() {
        return listPrice;
    }

    public void setListPrice( BigDecimal listPrice ) {
        this.listPrice = listPrice;
    }

    public BigDecimal getUnitCost() {
        return unitCost;
    }

    public void setUnitCost( BigDecimal unitCost ) {
        this.unitCost = unitCost;
    }

    public int getSupplierId() {
        return supplierId;
    }

    public void setSupplierId( int supplierId ) {
        this.supplierId = supplierId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus( String status ) {
        this.status = status;
    }

    public String getAttribute1() {
        return attribute1;
    }

    public void setAttribute1( String attribute1 ) {
        this.attribute1 = attribute1;
    }

    public String getAttribute2() {
        return attribute2;
    }

    public void setAttribute2( String attribute2 ) {
        this.attribute2 = attribute2;
    }

    public String getAttribute3() {
        return attribute3;
    }

    public void setAttribute3( String attribute3 ) {
        this.attribute3 = attribute3;
    }

    public String getAttribute4() {
        return attribute4;
    }

    public void setAttribute4( String attribute4 ) {
        this.attribute4 = attribute4;
    }

    public String getAttribute5() {
        return attribute5;
    }

    public void setAttribute5( String attribute5 ) {
        this.attribute5 = attribute5;
    }
}
